#ifndef TEXTWINDOW_H
#define TEXTWINDOW_H

#include <QTextEdit>
#include <QString>

class TextWindow : public QTextEdit
{
    Q_OBJECT
public:
    explicit TextWindow(QWidget *parent = nullptr);
    ~TextWindow();
    void send_close_signal();

    bool is_saved = false;
    QString file_name;
signals:
    void close_signal();
};

#endif // TEXTWINDOW_H
